package com.baiyang.server.dao.book;

import com.alibaba.fastjson.JSONObject;
import com.baiyang.server.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;

import com.baiyang.server.model.book.Book;

import java.util.List;

@Mapper
public interface BookDao extends BaseDao<Book> {
    List<Book> getPages(JSONObject object);

    void deleteById(String id);

    int getNum(JSONObject object);
}
